
<script type="text/html"  id="tp-activity-form">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
        <h4 class="modal-title">{{title}}</h4>
      </div>
      <div class="modal-body">
        <from id="activity-add-form" name="activity-add-form"  class="form-horizontal">
          <input type="hidden" name="id"  value="{{activity.id}}"/>
          <div class="form-group">
            <label class="col-sm-2 control-label">活动标题</label>
            <div class="col-sm-9">
              <input type="text" class="form-control" name="title" value="{{activity.title}}" placeholder="请输入活动标题">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">学校名称</label>
            <div class="col-sm-9">
              <input type="text" class="form-control" name="school" value="{{activity.school}}" placeholder="请输入学校名称">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">班级列表</label>
            <div class="col-sm-9" id="add-label-container">              
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">活动封面</label>
            <div class="col-sm-9" id="cover-container">              
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">截止日期</label>
            <div class="col-sm-9" style="position:relative;z-index:20000;">  
              <input type="text" class="form-control" name="enddate"  value="{{activity.enddate | dateFormat 'yyyy-MM-dd'}}" placeholder="请选择截止日期">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">活动描述</label>
            <div class="col-sm-9" id="description-container">
                
            </div>
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default pull-left" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary" id="activity-save-btn">完成</button>
      </div>
  </div>
</script>
<style>
  .chart svg{
    width: 30px !important;
    right: 20px !important;
  }

  .ECalendarBox .currentdate h2{
    margin-top: 0px;
  }
</style>